<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html dir="ltr" class="uk-height-1-1 uk-notouch" lang="en-gb"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <meta charset="utf-8">
        <title>Login</title>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/uikit/uikit.css">
        <script src="${pageContext.request.contextPath}/resources/jquery/jquery.js"></script>
        <script src="${pageContext.request.contextPath}/resources/uikit/uikit.js"></script>
    </head>

    <body class="uk-height-1-1">

        <div class="uk-vertical-align uk-text-center uk-height-1-1">
            <div class="uk-vertical-align-middle" style="width: 250px;">
            
            <c:if test="${not empty error}">
		<div class="errorblock">
			Your login attempt was not successful, try again.<br /> Caused :
			${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
		</div>
	</c:if>

                <img class="uk-margin-bottom" src="" alt="" height="120" width="140">

                <form class="uk-panel uk-panel-box uk-form" action="<c:url value='j_spring_security_check' />" method='POST'>
                    <div class="uk-form-row">
                        <input class="uk-width-1-1 uk-form-large" placeholder="Username" name='j_username' type="text">
                    </div>
                    <div class="uk-form-row">
                        <input class="uk-width-1-1 uk-form-large" placeholder="Password" name='j_password' type="password">
                    </div>
                    <div class="uk-form-row">
                    	<input type="submit"  class="uk-width-1-1 uk-button uk-button-primary uk-button-large" value="Login">
                    </div>
                    <div class="uk-form-row uk-text-small">
                        <label class="uk-float-left"><input type="checkbox">Remember Me</label>
                        <a class="uk-float-right uk-link uk-link-muted" href="#">Forgot Password?</a>
                    </div>
                </form></div>

            </div>
        

    

<div class="uk-tooltip"></div></body></html>